# Kill focused window
bindsym $mod+Shift+q kill

# Reload the configuration file
bindsym $mod+Shift+c reload

# Lock screen
bindsym Ctrl+Mod1+l exec swaylock \
    -i /home/sny/.config/sway/wall.png \
    --font JetBrains Mono \
    --font-size 12 \
    --indicator-radius 100 \
    -r

# Scratchpad
bindsym $mod+s move scratchpad
bindsym $mod+Shift+s scratchpad show

# Logout
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' \
    -B 'Yes, exit sway' 'swaymsg exit' \
    -B 'Suspend' 'systemctl suspend | swaylock -i /home/sny/.config/sway/wall.png ; kill -9 $(pidof swaynag)' \
    -B 'Shutdown' 'poweroff' \
    -B 'Reboot' 'reboot'